package com.songlanyun.modules.opus.dao;

import com.songlanyun.modules.opus.entity.OpusThemeSystem;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 作品主题表
 *
 * @author lubo
 * @email sunlightcs@gmail.com
 * @date 2021-01-13 16:35:02
 */
@Mapper
public interface OpusThemeSystemDao extends BaseMapper<OpusThemeSystem> {

    void updateOpusNum(@Param("themeIdList") List<Long> themeIdList,@Param("num") Integer num);

    List<String> listByOpusId(Long oid);

}
